package cn.shangqizhenshuai.sqiot.mapper;

import cn.shangqizhenshuai.sqiot.entity.EA;
import cn.shangqizhenshuai.sqiot.entity.EAExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EAMapper {
    long countByExample(EAExample example);

    int deleteByExample(EAExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(EA record);

    int insertSelective(EA record);

    List<EA> selectByExample(EAExample example);

    EA selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param( "record" ) EA record, @Param( "example" ) EAExample example);

    int updateByExample(@Param( "record" ) EA record, @Param( "example" ) EAExample example);

    int updateByPrimaryKeySelective(EA record);

    int updateByPrimaryKey(EA record);
}